package com.yenlien.traceyun.control.dao;

import com.yenlien.traceyun.control.entity.CompanyModelClassify;
import com.yenlien.traceyun.webase.dao.BaseJpaDao;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author: bigwangy@sina.com
 * @create: 2020-11-02
 * @description:
 **/
public interface CompanyModelClassifyDao extends BaseJpaDao<CompanyModelClassify> {

    @Transactional
    public void deleteByCompanyId(String companyId);

    @Transactional
    public void deleteByModelclassifyId(String modelclassifyId);

    public List<CompanyModelClassify> findByModelclassifyId(String modelclassifyId);
}
